package ru.papergames.battleserver.model.auth;

import ru.papergames.battleserver.network.PaperGameClient;

/**
 * @author: ATroshanin
 * Date: 15.06.2010
 * Time: 18:21:55
 */
public class WaitingForAuthUser {

    private int playerId;
    private int secretKey;
    private long startWaitTime;
    private PaperGameClient client;

    public WaitingForAuthUser(int userDbId, int secretKey, PaperGameClient client) {
        this.playerId = userDbId;
        this.secretKey = secretKey;
        this.startWaitTime = System.currentTimeMillis();
        this.client = client;
    }

    public int getPlayerId() {
        return playerId;
    }

    public int getSecretKey() {
        return secretKey;
    }

    public long getStartWaitTime() {
        return startWaitTime;
    }

    public PaperGameClient getClient() {
        return client;
    }
}
